package cc.comac.mom.entity;

import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import cc.comac.mom.bean.QualityAttachmentGroup;
import cc.comac.mom.entity.base.BaseResultEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * QAR检验特性表
* @ClassName: QuqlityQarCheckItemEntity  
* @Description: TODO  
* @author FYT  
* @date 2020年8月18日 上午9:46:54  
*
 */

@TableName(value = "quality_qar_check_item")
@Data
@EqualsAndHashCode(callSuper=true)
public class QuqlityQarCheckItemEntity extends BaseResultEntity{
	private static final long serialVersionUID = 1L;
	@TableField(value="qar_check_item_id")
	@TableId(value = "qar_check_item_id",type=IdType.INPUT )
	private long   id;
	private String qarNo;
	
	private String type;
	private String checkItem;
	private String checkDetail;
	private String remark;
	private int result;
	private long checkParentId;
	private long attachmentGroupId;
	private String checkPictureName;
	private String checkPicturePath;
	private String checkItemValue;
	private long groupId;
	@TableField(exist = false)
	private List<Long> attachmentIds;
	
	@TableField(exist = false)
	private long attachmentId;
	@TableField(exist = false)
	private List<QualityAttachmentGroup> attachmentGroupList;
	@TableField(exist = false)
	private List<QualityAttachmentGroup> groupList;
	@TableField(exist = false)
	private List<QualityAttachmentEntity> attachmentList;
}
